package com.huage.courseplatform.application.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="教师响应参数",description="教师响应参数")
public class TeacherManageDTO extends BaseEntity<TeacherManageDTO> implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教师名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "教师头像ID")
    private String logoImg;

    @ApiModelProperty(value = "文化程度")
    private String degree;

    @ApiModelProperty(value = "身高(cm)")
    private Double height;

    @ApiModelProperty(value = "体重(kg)")
    private Double weight;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    @ApiModelProperty(value = "出生时间")
    private String birthday;

    @ApiModelProperty(value = "教师简介")
    private String description;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态 0：注销，1：正常使用，2：封禁，3：审核中")
    private Integer status;

}
